using Abp.AspNetCore.Mvc.Controllers;
using Abp.IdentityFramework;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Identity;
using SportsPlatform.Filters;

namespace SportsPlatform.Controllers
{

   
    public abstract class SportsPlatformControllerBase : AbpController
    {
        protected SportsPlatformControllerBase()
        {
            LocalizationSourceName = SportsPlatformConsts.LocalizationSourceName;
        }

        protected void CheckErrors(IdentityResult identityResult)
        {
            identityResult.CheckErrors(LocalizationManager);
        }
    }
}
